Smush\Core\Integrations\NextGen\Stats D

Total Complexity 188
Dependencies 7
Dependents 1
Total lines 930
Lines of code 532
Logical lines of code 314
Comment lines 245
Methods 35
Properties 8

Methods 35

Method Rating Maintainability Complexity Lines of code
show_stats()
C
35 30 70
get_ngg_images()
B
40 24 53
get_detailed_stats()
A
44 10 42
update_stats()
A
57 11 13
recalculate_stats()
A
54 9 19
get_smush_stats()
A
49 8 28
update_stats_cache()
A
51 8 25
get_super_smushed_images()
S
58 8 15
show_resmush()
S
60 8 13
get_skipped_images()
S
51 7 27
get_smushed_image_count()
S
57 6 16
get_grade_class()
S
60 5 13
get_global_stats()
S
47 3 36
get_percent_optimized()
S
59 4 15
total_count()
S
62 5 10
cmp()
S
64 5 9
get_stats_for_ids()
S
59 4 14
get_supper_smushed()
S
62 4 11
get_unsmushed_images()
S
64 3 11
cleanup_super_smush_data()
S
64 3 9
get_image_smush_savings()
S
64 3 10
get_image_resize_savings()
S
65 3 10
get_attachment_stats()
S
63 2 10
get_remaining_count()
S
65 2 9
get_array_value()
S
78 2 3
get_percent_metric()
S
75 2 4
update_smush_stats()
S
79 1 3
subtract_image_stats()
S
72 1 5
__construct()
S
64 1 9
get_supper_smushed_list()
S
82 1 3
get_smushed_count()
S
80 1 3
get_supper_smushed_count()
S
80 1 3
get_reoptimize_list()
S
82 1 3
clear_cache()
S
73 1 5
get_cache_smush_stats()
S
80 1 3